<?php declare(strict_types=1);

namespace think\msg;

use think\exception\Handle;
use think\Service;

class MsgService extends Service
{
    public function register(): void
    {
        // 绑定消息服务
        $this->app->bind('msg', MsgContext::class);
        // 绑定异常处理类
        $this->app->bind(Handle::class, ExceptionReportHandle::class);
    }
}
